<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Table class</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="mysql-xdevapi-statement.hasmoreresults.html">« Statement::hasMoreResults</a></li>
      <li style="float: right;"><a href="mysql-xdevapi-table.construct.html">Table::__construct »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="book.mysql-xdevapi.html">Mysql_xdevapi</a></li>
    <li>Table class</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="class.mysql-xdevapi-table" class="reference">

 <h1 class="title">Table class</h1>
 

 <div class="partintro"><p class="verinfo">(PECL mysql-xdevapi &gt;= 8.0.11)</p>


  <div class="section" id="mysql-xdevapi-table.intro">
   <h2 class="title">简介</h2>
   <p class="para">
    Provides access to the table through INSERT/SELECT/UPDATE/DELETE statements.
   </p>
  </div>


  <div class="section" id="mysql-xdevapi-table.synopsis">
   <h2 class="title">类摘要</h2>


   <div class="classsynopsis">
    <div class="ooclass"></div>


    <div class="classsynopsisinfo">
     <span class="ooclass">
      <span class="modifier">class</span> <strong class="classname">mysql_xdevapi\Table</strong>
     </span>

     <span class="oointerface"><span class="modifier">implements</span> 
       <a href="class.mysql-xdevapi-schemaobject.html" class="interfacename">mysql_xdevapi\SchemaObject</a></span> {</div>

    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 属性 */</div>
    <div class="fieldsynopsis">
     <span class="modifier">public</span>
      <var class="varname"><a href="class.mysql-xdevapi-table.html#mysql-xdevapi-table.props.name">$<var class="varname">name</var></a></var>;</div>



    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 方法 */</div>
    <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>count</strong></span>(): <span class="type">int</span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><strong>delete</strong></span>(): <span class="type"><a href="class.mysql-xdevapi-tabledelete.html" class="type mysql_xdevapi\TableDelete">mysql_xdevapi\TableDelete</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><strong>existsInDatabase</strong></span>(): <span class="type">bool</span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><strong>getName</strong></span>(): <span class="type">string</span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><strong>getSchema</strong></span>(): <span class="type"><a href="class.mysql-xdevapi-schema.html" class="type mysql_xdevapi\Schema">mysql_xdevapi\Schema</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><strong>getSession</strong></span>(): <span class="type"><a href="class.mysql-xdevapi-session.html" class="type mysql_xdevapi\Session">mysql_xdevapi\Session</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><strong>insert</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.declarations.html#language.types.declarations.mixed" class="type mixed">mixed</a></span> <code class="parameter">$columns</code></span>, <span class="methodparam"><span class="type"><a href="language.types.declarations.html#language.types.declarations.mixed" class="type mixed">mixed</a></span> <code class="parameter">...$more_columns</code></span>): <span class="type"><a href="class.mysql-xdevapi-tableinsert.html" class="type mysql_xdevapi\TableInsert">mysql_xdevapi\TableInsert</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><strong>isView</strong></span>(): <span class="type">bool</span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><strong>select</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.declarations.html#language.types.declarations.mixed" class="type mixed">mixed</a></span> <code class="parameter">$columns</code></span>, <span class="methodparam"><span class="type"><a href="language.types.declarations.html#language.types.declarations.mixed" class="type mixed">mixed</a></span> <code class="parameter">...$more_columns</code></span>): <span class="type"><a href="class.mysql-xdevapi-tableselect.html" class="type mysql_xdevapi\TableSelect">mysql_xdevapi\TableSelect</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><strong>update</strong></span>(): <span class="type"><a href="class.mysql-xdevapi-tableupdate.html" class="type mysql_xdevapi\TableUpdate">mysql_xdevapi\TableUpdate</a></span></div>

   }</div>


  </div>



  <div class="section" id="mysql-xdevapi-table.props">
   <h2 class="title">属性</h2>
   <dl>
    
     <dt id="mysql-xdevapi-table.props.name"><var class="varname">name</var></dt>

     <dd>

      <p class="para"/>
     </dd>

    
   </dl>

  </div>



 </div>

 














































































<h2>目录</h2><ul class="chunklist chunklist_reference"><li><a href="mysql-xdevapi-table.construct.html">Table::__construct</a> — Table constructor</li><li><a href="mysql-xdevapi-table.count.html">Table::count</a> — Get row count</li><li><a href="mysql-xdevapi-table.delete.html">Table::delete</a> — Delete rows from table</li><li><a href="mysql-xdevapi-table.existsindatabase.html">Table::existsInDatabase</a> — Check if table exists in database</li><li><a href="mysql-xdevapi-table.getname.html">Table::getName</a> — Get table name</li><li><a href="mysql-xdevapi-table.getschema.html">Table::getSchema</a> — Get table schema</li><li><a href="mysql-xdevapi-table.getsession.html">Table::getSession</a> — Get table session</li><li><a href="mysql-xdevapi-table.insert.html">Table::insert</a> — Insert table rows</li><li><a href="mysql-xdevapi-table.isview.html">Table::isView</a> — Check if table is view</li><li><a href="mysql-xdevapi-table.select.html">Table::select</a> — Select rows from table</li><li><a href="mysql-xdevapi-table.update.html">Table::update</a> — Update rows in table</li></ul>
</div>
</div></div></body></html>